package cn.usian.jyzx.order.service;

import cn.usian.jyzx.model.dto.OrderInfoDto;
import cn.usian.jyzx.model.entity.order.OrderInfo;
import cn.usian.jyzx.model.vo.h5.TradeVo;
import com.github.pagehelper.PageInfo;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 11 07 14 34
 **/
public interface OrderService {

    public OrderInfo getOrderInfo(String orderNo);

    TradeVo trade(String token);

    String submitOrder(String token, OrderInfoDto orderInfoDto);

    OrderInfo orderInfo(Long orderNo);

    TradeVo buy(Long skuId, String token);

    PageInfo<OrderInfo> orderList(Integer pageNo, Integer pageSize, Integer orderStatus,String token);

    int updateOrderStatus(String orderNo, Integer status);
}
